package lab7;

import java.awt.DisplayMode;
import java.util.Stack;

public class StackMain {
	public static void main(String[] args) {
		Stack<Integer> stack = new Stack<>();
		System.out.println(stack.isEmpty());
		stack.push(10);
		stack.push(17);
		stack.push(13);
		stack.push(20);
		stack.push(30);
		
		System.out.println(stack);
		System.out.println(stack.pop());
		System.out.println(stack.peek());
		System.out.println(stack.isEmpty());
		System.out.println(stack.size());
		System.out.println(stack.toString());
	
		
		
		
	}

}
